package com.coder4j.system.controller;

import com.coder4j.starter.tools.MonitorUtils;
import com.coder4j.starter.tools.vo.R;
import com.coder4j.starter.web.api.ApiNote;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sysMonitor")
public class MonitorController {
    @GetMapping("/info")
    @ApiNote(name = "查询详情", createName = "keller",createTime = "2024-5-27 11:49:15")
    public R info(){
        return R.success(MonitorUtils.getMonitorVO());
    }
}
